Regardless of your deployment model, the first step in deploying your application is to package the required Barcode Xpress for Java runtime components.
The contents of the “Accusoft/BarcodeXpressJava13-64/bin” directory of your Barcode Xpress for Java installation are the Barcode Xpress for Java runtime components. The following files are required for deployment:
Accusoft hosts a public maven repository at http://mvn.accusoft.com that can be used to distribute the required dependencies. The samples include a POM file that uses this repository. In order to use this, first add the Accusoft repository to your list:
pom.xml |
Copy Code
|
---|---|
… <repositories> <repository> <releases> <enabled>true</enabled> <updatePolicy>always</updatePolicy> <checksumPolicy>warn</checksumPolicy> </releases> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> <checksumPolicy>fail</checksumPolicy> </snapshots> <id>accusoft-group</id> <name>Accusoft Maven Caching Proxy</name> <url>http://mvn.accusoft.com/</url> <layout>default</layout> </repository> </repositories> … |
Once the repository is added, the only required dependency can be added to the project:
pom.xml |
Copy Code
|
---|---|
… <dependencies> <dependency> <groupId>com.accusoft.barcodexpress</groupId> <artifactId>barcodexpressjava</artifactId> <version>13.1</version> </dependency> </dependencies> … |